package interfacesRemotas;

import java.rmi.Remote;
import java.rmi.RemoteException;
import java.util.List;

import modelo.gestionFacturacion.Balance;
import modelo.gestionFacturacion.LineaBalance;



public interface InterfazBalance extends Remote {
	public Balance getBalance(int id_restaurante, int anio) throws RemoteException;
	public List<Balance> getBalances(int id_restaurante) throws RemoteException;
	public boolean insertarLineaBalance(int idBalance, LineaBalance lb)  throws RemoteException;
	public boolean eliminarLineaBalance(int idBalance, int idLineaBalance)  throws RemoteException;
	public boolean eliminarBalance(int idBalance) throws RemoteException;
	public boolean actualizarLineaBalance(int idLineaBalance, int precio) throws RemoteException;
	public int generarIdFactura() throws RemoteException;
}
